<template>
    <div class="content">
        <transition name="fade" mode="out-in">
            <router-view :key="this.$route.meta.url"></router-view>
        </transition>
    </div>
</template>

<script>
    import { userAdmin } from "@/api/userAdmin"   
    export default {
        data(){
            return {

            }
        },
        created(){
            this.url = this.$route.meta.url
            console.log(this.url)
        },
        methods:{
            
        }
    }
</script>

<style scoped>
    .fade-enter{
        opacity: 0;
    }
    .fade-enter-active{
        transition: opacity .3s;
    }
    .fade-leave-to{
        opacity: 0;
    }
    .fade-leave-active{
        transition: opacity .3s;
    }
</style>